package com.book.manage.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("notice")
public class Notice {
@TableId("id")
    private Integer id;
@TableField("topic")
    private String topic;
@TableField("content")
    private String content;
@TableField("author")
    private String  author;
@TableField("createDate")
    private LocalDateTime createDate;


}
